<view class="submit-container">
    <!-- 轮播通知 -->
    <view class="notice-container" qq:if="{{noticeShow}}">
        <view class="notice-content">{{notice}}</view>
        <view class="notice-close" bindtap="noticeClose">
            <text class="cuIcon-roundclosefill"></text>
        </view>
    </view>
    <view class="title-warp">
        <view class="title-img">
            <image src="../../res/submit/title.png"></image>
        </view>
        <view class="title-tips">请加微信表白墙，微信号：jd2096</view>
    </view>
    <view class="input-container">
        <!-- 类型 -->
        <view class="type-warp">
            <view class="tip-item">投稿类型</view>
            <view class="input-item">
                <input bindinput="typeInput" value="{{type}}" type="text" placeholder="不超过4个字(表白、提问..)" maxlength="4" />
            </view>
        </view>
        <!-- 标题 -->
        <view class="type-warp">
            <view class="tip-item">投稿标题</view>
            <view class="input-item">
                <input bindinput="titleInput" value="{{title}}" type="text" placeholder="不超过12个字" maxlength="12" />
            </view>
        </view>
        <!-- 文本 -->
        <view class="type-warp">
            <view class="tip-item">文本（非必填）</view>
            <view class="input-item">
                <textarea auto-height bindinput="textInput" value="{{text}}" maxlength="-1" type="text" placeholder="输入文本(禁止引战言论及不完整信息)"></textarea>
            </view>
        </view>
        <view class="warning-tips">文字输入均暂不支持QQ表情</view>
        <!-- 图片区域 -->
        <view class="type-warp">
            <view class="tip-item">图片（非必填，不大于9张，多张图片请依次上传）</view>

            <view class="grid col-3 grid-square flex-sub margin-top">
                <view class="bg-img" wx:for="{{imgList}}" wx:key="{{index}}" bindtap="ViewImage" data-url="{{imgList[index]}}">
                    <image src="{{imgList[index]}}" mode="aspectFill"></image>
                    <view class="cu-tag bg-red" catchtap="DelImg" data-index="{{index}}">
                        <text class="cuIcon-close"></text>
                    </view>
                </view>
                <view class="solids" bindtap="ChooseImage" wx:if="{{imgList.length<9}}">
                    <text class="cuIcon-cameraadd"></text>
                </view>
            </view>
        </view>
        <view class="warning-tips">图片里不能包含二维码，文字里不能出现“价格”二字，否则说说会被吞</view>
        <!-- 联系方式区域 -->
        <view class="type-warp">
            <view class="tip-item">联系方式（非必填）</view>
            <view class="way-item">
                <view class="way-img">
                    <image src="../../res/submit/qq.png"></image>
                </view>
                <view class="way-input">
                    <input maxlength="12" bindinput="qqInput" value="{{qq}}" type="text" placeholder="QQ" />
                </view>
            </view>
            <view class="way-item">
                <view class="way-img">
                    <image src="../../res/submit/wechat.png"></image>
                </view>
                <view class="way-input">
                    <input maxlength="21" bindinput="wechatInput" value="{{wechat}}" type="text" placeholder="微信" />
                </view>
            </view>
            <!-- <view class="way-item">
                <view class="way-img">
                    <image src="../../res/submit/tel.png" mode="widthFix"></image>
                </view>
                <view class="way-input">
                    <input bindinput="telInput" value="{{tel}}" type="text" placeholder="电话" />
                </view>
            </view>
            <view class="way-item">
                <view class="way-img">
                    <image src="../../res/submit/mail.png" mode="widthFix"></image>
                </view>
                <view class="way-input">
                    <input bindinput="mailInput" value="{{mail}}" type="text" placeholder="邮箱" />
                </view>
            </view> -->
        </view>
        <view class="submit">
            <!-- <image bindtap="submit" src="../../res/submit/button.png" mode="widthFix"></image> -->
            <button class="submit_button" bindtap="submit">预览/提交</button>
            <!-- <button class="feedback" plain open-type="feedback" style="margin-top: 40rpx">意见反馈</button> -->
            <!-- <button class="feedback" group-id="928852023" style="margin-top: 40rpx" plain open-type="openGroupProfile">有疑问或建议？点我加入答疑反馈群！</button> -->
        </view>
    </view>

    <view class="logo">
        <!-- <button class="feedback" group-id="892544890" plain open-type="openGroupProfile">@开发者协会 招新群:892544890</button> -->
    </view>
</view>

<view class="btn2 shadow" wx:if="{{!hide}}" bindtap="manage">后台</view>
